package o2o.dao.VO.code;

/**
 * Created with IntelliJ IDEA.
 *
 * @User: @Created by yangtk
 * @Date: @Date 2020/12/1 15:45
 * @Email: yangtongkuan@qq.com
 * @To change this template use File | Settings | File Templates.
 * @desc
 */
public class DiscountExchangeCodeVO {

    public Long id;
    public String exchangeCode;         // 兑换码

    private Integer discountRate;        //  折扣率 0~100范围
    private Integer isUse;              // 是否使用
    private String useUsername;        // 使用者账号
    private Integer fcDiscountMoney;      // 抵扣金额
    private Long useTime;               // 使用时间
    private Long startTime;             // 有效开始时间
    private Long endTime;               // 有效结束时间
    private String orderNo;             // 使用者订单号
    private int delFlag = 0;
    private Integer version;            // 版本
    private String createUser;          // 创建者
    private Long createTime;            // 创建时间

    public Integer getFcDiscountMoney() {
        return fcDiscountMoney;
    }

    public DiscountExchangeCodeVO setFcDiscountMoney(Integer fcDiscountMoney) {
        this.fcDiscountMoney = fcDiscountMoney;
        return this;
    }

    public Long getId() {
        return id;
    }

    public DiscountExchangeCodeVO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getExchangeCode() {
        return exchangeCode;
    }

    public DiscountExchangeCodeVO setExchangeCode(String exchangeCode) {
        this.exchangeCode = exchangeCode;
        return this;
    }

    public Integer getDiscountRate() {
        return discountRate;
    }

    public DiscountExchangeCodeVO setDiscountRate(Integer discountRate) {
        this.discountRate = discountRate;
        return this;
    }

    public Integer getIsUse() {
        return isUse;
    }

    public DiscountExchangeCodeVO setIsUse(Integer isUse) {
        this.isUse = isUse;
        return this;
    }

    public String getUseUsername() {
        return useUsername;
    }

    public DiscountExchangeCodeVO setUseUsername(String useUsername) {
        this.useUsername = useUsername;
        return this;
    }

    public Long getUseTime() {
        return useTime;
    }

    public DiscountExchangeCodeVO setUseTime(Long useTime) {
        this.useTime = useTime;
        return this;
    }

    public Long getStartTime() {
        return startTime;
    }

    public DiscountExchangeCodeVO setStartTime(Long startTime) {
        this.startTime = startTime;
        return this;
    }

    public Long getEndTime() {
        return endTime;
    }

    public DiscountExchangeCodeVO setEndTime(Long endTime) {
        this.endTime = endTime;
        return this;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public DiscountExchangeCodeVO setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public DiscountExchangeCodeVO setDelFlag(int delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public Integer getVersion() {
        return version;
    }

    public DiscountExchangeCodeVO setVersion(Integer version) {
        this.version = version;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public DiscountExchangeCodeVO setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public DiscountExchangeCodeVO setCreateTime(Long createTime) {
        this.createTime = createTime;
        return this;
    }
}
